/**
 * 
 */
package at.ac.lbg.media.vis.framework.model;

import java.util.List;

/**
 * @author Evelyn Münster
 *
 */
public class Category {
	
	private Long id;
	private String name;
	private int countArtworks;
	private Category parent;
	private List<Category> children;
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the parent
	 */
	public Category getParent() {
		return parent;
	}
	/**
	 * @param parent the parent to set
	 */
	public void setParent(Category parent) {
		this.parent = parent;
	}
	
	public List<Category> getChildren() {
		return children;
	}
	public void setChildren(List<Category> children) {
		this.children = children;
	}
    public int getCountArtworks() {
        return countArtworks;
    }
    public void setCountArtworks(int countArtworks) {
        this.countArtworks = countArtworks;
    }
	
	

}
